<include file="Public:header" />
<div class="main">
    <div class="position"><p>您的当前位置：<a href="/">首页</a>  >  经纪人</p></div>
    <div class="agency_div"><span>共<b> {$count} </b>个经纪人</span></div>
    <div class="agency_list">
        <div class="age_l">
            <ul class="age_ul">
                <volist name="list" id='vo'>
                <php>  $data = getAgencyUserInfo($vo['user_id']); </php>
                <li class="li">
                    <div class="age_head">
                        <a href="{:U('Store/index',array('uid'=>$vo['user_id']))}"><img width="118" height="117" src="{$vo.head_ico}"></a>
                    </div>
                    <div class="age_con">
                        <div class="age_div1">
                            <div>姓名:<span>{$vo['true_name'] ? $vo['true_name'] : '暂无姓名' }</span> 联系电话: <span>{$vo.hot_line}</span> 所属公司: <span>{$vo.company_name}</span></div>
                            <div>出售房源(<b><a target="_blank" href="{:U('StoreUsed/index',array('uid'=>$vo['user_id']))}">{:getUserCount($vo['user_id'])}</a></b>)套&nbsp;&nbsp;出租房源(<b><a target="_blank" href="{:U('StoreRental/index',array('uid'=>$vo['user_id']))}">{:getUserCount($vo['user_id'],'rental')}</a></b>)套</div>
                        </div>
                        <php>if($data['used'] && $data['rental']){</php>
                        <div class="age_div2">
                            <h4>房源推荐</h4>
                            <div class="age_div3">
                                <ul class="es">
                                    <volist name="data['used']" id='vo'>
                                        <li><span>售</span><a href="{:U('Used/detail',array('id'=>$vo['id']))}" target="_blank">{$vo.title}</a></li>
                                    </volist>
                                </ul>
                                <ul class="cz">
                                    <volist name="data['rental']" id='vo'>
                                        <li><span>租</span><a href="{:U('Rental/detail',array('id'=>$vo['id']))}" target="_blank">{$vo.title}</a></li>
                                    </volist>
                                </ul>
                            </div>
                        </div>
                        <php>}</php>
                    </div>
                </li>
                </volist>
            </ul>
            <div class="plastic_bottom_pages">
                {$page}
            </div>
        </div>
        <div class="age_r">
            <div class="s_h_right01">
                <ul class="overflow_h">
                    <li><a href="{$site.link}" target="_blank"  class="but16">发布求购</a></li>
                    <li><a href="{$site.link}" target="_blank"  class="but17">委托出售</a></li>
                    <li><a href="{:MU('Used/add')}" class="but18">发布二手</a></li>
                    <li><a href="{:MU('Used/index')}" class="but19">管理二手</a></li>
                </ul>
            </div>
            <div class="second_hand_house_box">
                <h1 class="n_h_title"><span class="s_bg_line">二手房推荐</span><span class="more"><a target="_blank" href="{:U('Used/index')}">更多</a></span></h1>
                <ul>
                    <volist name='rec_used' id='vo'>
                        <li><span class="s_box01"><a target="_blank" href="{:U('Used/detail',array('id'=>$vo['id']))}">{$vo.title}</a></span><span class="s_box02">{$vo.area}㎡</span><span class="s_box02 org">{$vo.total_price}万</span></li>
                    </volist>
                </ul>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<include file="Public:footer" />
